package com.sun.mybatisplus.utils;

import cn.hutool.core.codec.Base64;
import org.apache.axis.client.Call;
import org.apache.axis.client.Service;
import org.junit.Test;

import java.io.File;
import java.net.URL;

public class HutoolFileTest {
    private static final String signature = "http://172.16.101.98:8081/estamp/esrestful/CSS_Java_SignData?wsdl";

    public static void main(String[] args) {
        String encode = Base64.encode(new File("D:\\informatization\\未命名1.pdf"));
        String id = "68834a2952f84b64bd0b194eb1880320";
        String dressCode = "100&100";
//        String[] voucherNos = {"6249164037104570"};
        Object[] objects = {encode, id};
        Object result = callService(objects, EStampLocalPart.saveStampVoucher, signature);
        System.out.println(result);
    }

    private static Object callService(Object[] objects, EStampLocalPart localPart, String endpoint) {
        Service service = new Service();
        //创建一个call对象
        Call call = null;
        try {
            call = (Call) service.createCall();
            //设置要调用的接口地址
            call.setTargetEndpointAddress(new URL(endpoint));
            //设置要调用的接口方法
            call.setOperationName(localPart.getQName());
//            call.setEncodingStyle(CharsetUtil.GBK);
            call.setUseSOAPAction(true);
            Object result = call.invoke(objects);
            if (result != null) {
                System.out.println("调用凭证返回={}" + result.toString());
            }
            return result;
        } catch (Exception e) {
            e.printStackTrace();
        }
        return null;
    }

    @Test
    public void test1() throws Exception {
        String data = "UEsDBBQACAgIANeGLlUAAAAAAAAAAAAAAAATAAAAW0NvbnRlbnRfVHlwZXNdLnhtbLVUy27CMBD8lcjXKjH0UFUVgUMfx5YDlXo19gas+iV7Q+Hvu0kgBx4SVcMlsj2zM+NHdjLbWpNtICbtXcnGxYhl4KRX2q1K9rl4yx9ZllA4JYx3UDLn2Ww6WewCpIxKXSrZGjE8cZ7kGqxIhQ/gCKl8tAJpGlc8CPktVsDvR6MHLr1DcJhjo8GmkxeoRG0we+7WG+mSiRCMlgIpFd84dSSa7wWLCKblpLUO6Y4ILHvdkkq3G0IT41c4HBc2c6r7oHOJWsGfovmq0hKUl7WlkkLWCb39smYeiRhRwz7nXER8F5YEec/hGsE2xDQuBswAzc4UqDxczkDk1piT9L+8D1cjfYSr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wAAHAAAAAAAAAAAAAAAAACSEQAAd29yZC9fcmVscy9kb2N1bWVudC54bWwucmVsc1BLAQIUABQACAgIANeGLlUu+juPYgMAAIsQAAASAAAAAAAAAAAAAAAAAN0SAAB3b3JkL2ZvbnRUYWJsZS54bWxQSwECFAAUAAgICADXhi5V7UODpf0BAAAeBgAAEgAAAAAAAAAAAAAAAAB/FgAAd29yZC9udW1iZXJpbmcueG1sUEsBAhQAFAAICAgA14YuVXWkYUQJDwAADD4AABEAAAAAAAAAAAAAAAAAvBgAAHdvcmQvc2V0dGluZ3MueG1sUEsBAhQAFAAICAgA14YuVekKI7iWCQAA3GsAAA8AAAAAAAAAAAAAAAAABCgAAHdvcmQvc3R5bGVzLnhtbFBLAQIUABQACAgIANeGLlWAwA3/uwUAAIgbAAAVAAAAAAAAAAAAAAAAANcxAAB3b3JkL3RoZW1lL3RoZW1lMS54bWxQSwUGAAAAAA8ADwDTAwAA1TcAAAAA";

        Base64.decodeToFile(data,new File("D:\\work\\test.docx"));
    }

    /**
     * 陕西省财政厅关于上报陕西省省级国库现金管理操作信息的函【报送函】.docx 293
     * 陕西省现金管理操作计划备案的函（报财政部）理操作信息的函【报送函】.docx
     * @throws Exception
     */
    @Test
    public void test2() throws Exception {
//        String encode = URLEncoder.encode("陕西省财政厅关于上报陕西省省级国库现金管理操作信息的函【报送函】.docx", "GBK");
//        System.out.println(encode);
//        String decode = URLDecoder.decode(encode, "GBK");
//        System.out.println(decode);
        String[] strs = new String[]{"AOD_POINT_MIN","OTHER_SCORE","OS_SCORING_METHOD","ELE_CODE","ELE_NAME","AOD_POINT_MAX","BASE_SCORE"};
        for (String str : strs) {
            System.out.println("private  " + str.toLowerCase());
        }
    }
}
